def funOut(func):
    print("我是装饰器 1")

    def funIn():
        print("I am foo")
        func()

    return funIn


def funOut2(func):
    print("我是装饰器 2")

    def funIn():
        print("hello")
        func()

    return funIn


@funOut2
@funOut
def foo():
    print("foo 函数正在运行")


foo()
